<template>
  <input
    class="top-input"
    type="text"
    placeholder="search"
    v-model="searchvaule"
    @keyup.enter="handleSearch(searchvaule)"
  />
</template>

<script setup>
import { getAllUserhttp } from '../../../request/userHttp.js'
const searchvaule = ref('')
const page = ref(1)
const size = ref(5)
function handleSearch(searchvaule) {
  getAllUserhttp(page.vaule, size.vaule, searchvaule)
}
</script>

<style scoped></style>
